package org.alanlau;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author alan
 * @version 1.0
 * @date 2020/12/1 23:20
 */
@ConfigurationProperties(prefix = "org.alanlau")
public class DemoProperties {
    /**
     * 是否启用
     */
    private boolean enabled = true;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
